﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MemberCardRuleList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.MemberCard.MemberCardRuleList" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>


<%=_framePage.TabInfoHtml()%>

<form id="pageForm" class="pageForm" >
<div class="pageHeader">
	<div class="searchBar">

        <table class="searchContent">
        	<tr><td>&nbsp;</td>
        		<%--<td>编码</td>
        		<td><input type="text" cond="code" value="<%=Request["code"] %>"/>
                <input type="hidden" cond="ruleid" value="<%=Request["ruleid"] %>"/>
                </td>--%>
                

        		<%--<td>会员帐号</td>
        		<td><input type="text" cond="member" value="<%=Request["member"] %>"/></td>--%>
                
        		<%--<td>状态</td>
        		<td><select cond="status" class="combox">
                        <option value="-1" selected="selected">--请选择--</option>
                        <option value="0" <%=Request["status"]=="0"?"selected='selected'":"" %>>未领取</option>
                        <option value="1" <%=Request["status"]=="1"?"selected='selected'":"" %>>已领取</option>
                        <option value="9" <%=Request["status"]=="9"?"selected='selected'":"" %>>已使用</option>
                    </select>
                 </td>--%>
        	</tr>
        </table>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>

			</ul>
	    </div>
	</div>
</div>
</form>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
        <li><a class="add"  href="/SystemManage/Basics/Shop/MemberCard/MemberCardRuleDetail.aspx" target="navTab" rel="MemberCardDetail" title="会员卡明细"><span>添加</span></a></li>
        <li><a class="delete" href="/SystemManage/Basics/Shop/MemberCard/MemberCardRuleDelete.aspx" target="selectedTodo" title="请确定要删除勾选会员卡"><span>删除</span></a></li>
		</ul>
	</div>
	<div class="tableList"   layoutH="116">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="120px">标题</th>
				<th width="160px">说明</th>
				<th width="100px">类型</th>
                <th width="100px">是否默认配置</th>
				<th width="100px">卡号前缀</th>
				<th width="120px" align="center">基本操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
                    <td><%#Eval("Title")%></td>
                    <td><%#Eval("Memo")%></td>
                    <td><%#  ZLCMS.Business.Util.ParamKit.GetValue("MemberCardKind",Eval("Kind") as string,"未知")    %>  
                    </td>
                    <td><%#Eval("IsDefault") as string =="1"?"<font style='color:red;'>是</font>":"否"%></td>
                 <td><%#Eval("HeadChar")%></td>
				    <td align=center>
				        <a href="/SystemManage/Basics/Shop/MemberCard/MemberCardRuleDetail.aspx?uid=<%# Eval("Id")%>" target="navTab" rel="MemberCardDetail" title="项目配置明细">编辑</a>
				        &nbsp;&nbsp;
				        <a href="/SystemManage/Basics/Shop/MemberCard/MemberCardRuleDelete.aspx?ids=<%# Eval("Id")%>" target="ajaxTodo" title="请确定要删除">删除</a>
                          &nbsp;&nbsp;
		        <a href="/SystemManage/Basics/Shop/MemberCard/UserMemberCardList.aspx?ruleid=<%# Eval("Id")%>" target="navTab" rel="CardUserList" title="会员卡用户">用户</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>
	
    
    
<%= _framePage.GetPagerContentHtml() %>
</div>